var exec = require("cordova/exec");
module.exports = {
    speak: function(content){
        exec(null,null,"BaiduTtsPlugin","speak",[content]);
    },
    speakWithCallback: function (content, successCallback, errorCallback) {
        exec(successCallback, errorCallback, "BaiduTtsPlugin", "speakWithCallback", [content]);
    }
}